package com.htjx.mall.commons.models.cart;

import java.math.BigDecimal;


/**
 * 
 * @author Administrator
 * 商品品类的规格， 比如：青岛啤酒有 罐装，瓶装，瓶装又有不容的容量
 */
public class CartItem {
	/** 规格 Id **/
	private long specification_id;
	/** 商品名称 **/
	private String product_name;
	/** 品类名称 **/
	private String catalog_name;
	/** 规格名称 **/
	private String specification_name;
	/** 图片 **/
	private String image;
	/** 商品价格 **/
	private BigDecimal price = BigDecimal.ZERO;
	/** 数量 **/
	private int quantity;
	/** 选中 **/
	private boolean active;
	
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public long getSpecification_id() {
		return specification_id;
	}
	public void setSpecification_id(long specification_id) {
		this.specification_id = specification_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public String getCatalog_name() {
		return catalog_name;
	}
	public void setCatalog_name(String catalog_name) {
		this.catalog_name = catalog_name;
	}
	public String getSpecification_name() {
		return specification_name;
	}
	public void setSpecification_name(String specification_name) {
		this.specification_name = specification_name;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
}
